package com.sqly.doc.menu.fjh;

import android.content.Intent;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.sqly.doc.R;
import com.sqly.doc.base.MyBaseActivity;

/**
 * Created by Administrator on 2017/11/22 0022.
 */

public class fjh_menu extends MyBaseActivity {
    LinearLayout l1,l2,back;
    TextView title, uname;
    @Override
    protected void initUI() {
        setContentView(R.layout.fjh_menu);
        l1=(LinearLayout)findViewById(R.id.l1);
        l1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(fjh_menu.this, fjh_list.class).putExtra("type","第1次入户随访记录"));
            }
        });
        l2=(LinearLayout)findViewById(R.id.l2);
        l2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(fjh_menu.this, fjh_list.class).putExtra("type","肺结核患者随访服务记录"));
            }
        });
        title = (TextView) findViewById(R.id.title);
        uname = (TextView) findViewById(R.id.uname);
        back = (LinearLayout) findViewById(R.id.back);
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }

    @Override
    protected void initData() {
        title.setText("肺结核");
        uname.setText("");
    }

    @Override
    protected void initListener() {

    }
}
